﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Transformer.iHunter.Plugins.BBS
{
    public class BbsItemViewerProvider : IViewerProvider
    {
        #region IViewerProvider Members

        public IMessageViewer CreateViewerInstance()
        {
            return new BbsItemViewer();
        }

        #endregion

        #region IPlugin Members

        public Guid Guid
        {
            get { return new Guid("{751B6808-5676-43b6-B9B7-B167CF9743F4}"); }
        }

        public void Initialize(IPluginClient client)
        {
            // Do nothing
        }

        public System.Windows.Forms.UserControl GetPluginConfigureEditor()
        {
            return null;
        }

        public event PluginErrorEventHandler ErrorOccur;

        #endregion

        #region IDisposable Members

        public void Dispose()
        {
            // Do nothing
        }

        #endregion

        #region IPlugin 成员


        public string Name
        {
            get { return "BBS Post Viewer"; }
        }

        public string Description
        {
            get { return "A viewer to display Term BBS content"; }
        }

        #endregion
    }
}
